home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Sample Code / Overview / OOPTESample / OOPTESample.make < prev    next >
Encoding:
Text File  |  1994-11-18  |  2.7 KB  |  123 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple TextEdit Sample Application
  5. #
  6. #    OOPTESample
  7. #
  8. #    OOPTESample.make    - MPW Make Facility Source
  9. #
  10. #    Copyright © 1988, 1989 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:        
  14. #                    1.00                    04/89
  15. #                    1.10                    02/90
  16. #                    1.11                    10/92
  17. #
  18. #    Components:     
  19. #                    BuildOOPTESample            February 1, 1990
  20. #                    MTESample.p                    February 1, 1990
  21. #                    OOPTESample.make            February 1, 1990
  22. #                    TECommon.h                    February 1, 1990
  23. #                    TESampleGlue.a                February 1, 1990
  24. #                    TESample.r                    February 1, 1990
  25. #                    TMLRules.make                February 1, 1990
  26. #                    UApplication.p                February 1, 1990
  27. #                    UApplication.inc1.p            February 1, 1990
  28. #                    UDocument.p                    February 1, 1990
  29. #                    UDocument.inc1.p            February 1, 1990
  30. #                    UTEDocument.p                February 1, 1990
  31. #                    UTEDocument.inc1.p            February 1, 1990
  32. #                    UTESample.p                    February 1, 1990
  33. #                    UTESample.inc1.p            February 1, 1990
  34. #
  35.  
  36. # NOTE: This make script should be called from 'BuildOOPTESample'. It depends
  37. # on some variables declared there.
  38.  
  39. kSignature = 'MOOT'
  40.  
  41. # turn off SADE symbols. To turn symbols on, add '-sym on' after the
  42. # equals sign. DON'T use '-sym off' if you want to use TML Pascal; it
  43. # doesn't recognize it.
  44. SymOpts =
  45.  
  46. # Pascal options
  47. PasOpts = {SymOpts}
  48.  
  49. # Linker optins
  50. LinkOpts = {SymOpts}
  51.  
  52. Objs =    ∂
  53.     "{ObjFolder}"UApplication.p.o ∂
  54.     "{ObjFolder}"UDocument.p.o ∂
  55.     "{ObjFolder}"UTEDocument.p.o ∂
  56.     "{ObjFolder}"UTESample.p.o ∂
  57.     "{ObjFolder}"TESampleGlue.a.o ∂
  58.     "{ObjFolder}"MTESample.p.o
  59.  
  60. Srcs =    ∂
  61.     UApplication.p ∂
  62.     UDocument.p ∂
  63.     UTEDocument.p ∂
  64.     UTESample.p ∂
  65.     TESampleGlue.a ∂
  66.     MTESample.p
  67.     
  68. RezFile = TESample.r
  69.  
  70. SysLibs =     "{Libraries}"Runtime.o ∂
  71.             "{Libraries}"Interface.o ∂
  72.             "{Libraries}"ObjLib.o ∂
  73.             "{PasLib}"
  74.  
  75.     
  76. "{ObjFolder}"MTESample.p.o        ƒ ∂
  77.         {Srcs}
  78.  
  79. "{ObjFolder}"UDocument.p.o        ƒ ∂
  80.         UDocument.inc1.p
  81.  
  82. "{ObjFolder}"UApplication.p.o    ƒ ∂
  83.         UApplication.inc1.p ∂
  84.         UDocument.p
  85.  
  86. "{ObjFolder}"UTEDocument.p.o    ƒ ∂
  87.         UTEDocument.inc1.p ∂
  88.         UApplication.p ∂
  89.         UDocument.p
  90.  
  91. "{ObjFolder}"UTESample.p.o        ƒ ∂
  92.         UTESample.inc1.p ∂
  93.         UApplication.p ∂
  94.         UDocument.p ∂
  95.         UTEDocument.p
  96.  
  97. # Everything below here is pretty generic, and shouldn't
  98. # have to be modified. You can customize it by changing the
  99. # variables above.
  100.  
  101. .p.o    ƒ .p
  102.     Echo "Compiling:     {Default}.p"
  103.     {Pascal} {PasOpts} ∂
  104.         -o {targDir}{default}.p.o ∂
  105.         {depDir}{default}.p
  106.  
  107. .a.o    ƒ .a
  108.     Echo "Assembling:    {Default}.a"
  109.     Asm -o {targDir}{default}.a.o ∂
  110.         {depDir}{default}.a
  111.  
  112. "{ObjFolder}"    ƒ :
  113.  
  114. {AppName} ƒƒ {Objs} {AppName}.make
  115.     Echo "Linking:       {AppName}"
  116.     Link -o {Targ} {LinkOpts} {Objs} {SysLibs} 
  117.     SetFile {Targ} -t APPL -c kSignature -a B
  118.  
  119. {AppName} ƒƒ {RezFile} {AppName}.make
  120.     Echo "Rezzing:       {RezFile}"
  121.     Rez -append -o {Targ} {RezFile}
  122.  
  123.